using System.Collections.Generic;
using ELearningSystem.DAO.DAO;

namespace ELearningSystem.Core.Interface
{
    public interface IContentManager
    {
        bool SaveOrUpdate(TreeContentDAO treeContent);
        int GetLastPosition(TreeContentDAO parentNode);
        TreeContentDAO GetCategoryNode();
        List<TreeContentDAO> GetAllTopics();
        TreeContentDAO GetTreeContent(int id);
        string GetTreeDataSource();
        ContentDAO GetContent(int treeContentId);
        bool IsMultipleAnswer(PracticeDAO practice, out string message);
        string GetNextTreeNodePath(string treeNodeValue, string xmlData);
        string GetPreviousTreeNodePath(string treeNodeValue, string xmlData);
    }
}